import ajax from './index'



export function glist(condition) {
  return ajax({
    url: "/backend/shopActivity/pageList",
    method: "get",
    params: condition
  });
}


export function deletes(ids) {
  return ajax({
    url: `/backend/shopActivity/delete/${ids}`,
    method: "get"
  });
}


export function audit(param) {
  return ajax({
    url: "/backend/shopActivity/audit",
    method: "post",
    data: param
  });
}
export function details(id) {
  return ajax({
    url: `/backend/shopActivity/detail/${id}`,
    method: "get"
  });
}
